package com.zzc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "admin")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Admin {

    @Id
    @Column(name = "id")
    private int id;
    @Column(name = "admin_name")
    private String adminName;
    @Column(name = "email")
    private String email;
    @Column(name = "pwd")
    private String pwd;

}
